package cn.wizzer.app.user.modules.services;

import cn.wizzer.app.user.modules.models.UserBankCard;
import cn.wizzer.app.user.modules.models.vo.UserBankCardVO;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;
import org.nutz.dao.Cnd;

import java.util.List;

/**
 * @author zl
 * @date 2020/8/25 16:07
 */
public interface UserBankCardService extends BaseService<UserBankCard> {
    /**
     * 验证银行卡
     *
     * @param cardId
     * @param userId
     */
    void verifyBankCard(String cardId, String userId);

    /**
     * 查询列表
     *
     * @param pageNumber
     * @param pageSize
     * @param searchKeyword
     * @param searchDate
     * @return
     */
    Pagination listPage(Integer pageNumber, int pageSize, String searchKeyword, String[] searchDate);

    UserBankCardVO getById(String cardId);

    List<UserBankCardVO> queryVO(Cnd cnd);
}
